Hi! I using a batch dxl program to extract all the url and modified date of all module. So I have recursivly looping through all item and dumping the information in a xml file. I need the Last MOdified Date of the item/module without opening the module. If i open the module, the script gets really slow and bust the memory. I used this to get the item date since I can't find a way to get it.
ModuleProperties mp
ModuleVersion mv = moduleVersion(read(fullName(i), false))
string err = getProperties(mv, mp)
if (null err) {
print " <modifiedDate>" mp."Last Modified On" "</modifiedDate>\n";
}
How could I just get the last modified date without opening the module? i."Last Modified On" would have been nice.
Thanks for your help, nbernier
nbernier - Mon Dec 09 15:57:05 EST 2013 |
Re: modified date on item We have had a lot of discussions about the memory leaks regarding the ModuleProperties ... I guess the simplest way to get by this, is to wrap the getProperties in an eval_ call. You can find an example here: See also the discussion here: Regards, Mathias |
Re: modified date on item Mathias Mamsch - Tue Dec 10 07:46:20 EST 2013 We have had a lot of discussions about the memory leaks regarding the ModuleProperties ... I guess the simplest way to get by this, is to wrap the getProperties in an eval_ call. You can find an example here: See also the discussion here: Regards, Mathias That did it!
Thanks. Nicolas |